<?php 

$group=intval($_GET['group']);
$loopCounter =0;
if($group == '1'){
	$loopCounter = 15;
}
else if($group == 2){
	$loopCounter = 43;
}
else if($group == 3){
	$loopCounter = 6;
}
else if($group == 4 ||$group == 5 ||$group == 6 ){
	$loopCounter = 1;
}

?>
<select name="batch" >
<option>---</option>
<?php for($i=1;$i<=$loopCounter;$i++) { 
		if ($i < 10)
			$optionValue = '0'.$i;
		else
			$optionValue = $i;
		if($group == 4 ||$group == 5 ||$group == 6 ){
			$optionValue = 'N/A';
		}
?>
<option value=<?php echo $optionValue;?>><?php echo $optionValue;?></option>
<? } ?>
</select>
